home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / varia / egebook.lha / ege.book / 5 / Researcher.h < prev    next >
C/C++ Source or Header  |  1992-06-07  |  281b  |  20 lines

  1. #ifndef Researcher_h
  2. #define Researcher_h
  3.  
  4. #include <iostream.h>
  5. #include <String.h>
  6.  
  7. #include "Person.h"
  8.  
  9. class Researcher: public virtual Employee {
  10.   String expertise;
  11. public:
  12.   void print(){
  13.     Person::print();
  14.     cout << "   with expertise: " << expertise;
  15.   };
  16. };
  17.  
  18.  
  19. #endif
  20.